package zouran.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;
import zouran.entity.FileOperation;

import java.util.Map;

/**
 * @author zouran
 * createDate：2024/8/6  5:41
 */
@Transactional
public interface FileOperationService extends IService<FileOperation> {
    boolean updateFileStatus(Long id);

    String getFileCosUrl(String fileName);

    Map<String, Object> insertFileInfo(Long earthquakeId, String fileName, String description);

    IPage<FileOperation> queryFileListById(Map<String, Object> params);
}
